<template>
	<view class="container">
		<view class="redirect-info">
			<text class="redirect-text">此功能已移除</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				timer: null
			}
		},
		onLoad() {
			// 直接返回个人中心
			this.redirectToPersonal();
		},
		methods: {
			redirectToPersonal() {
				// 添加延迟确保页面加载完成
				this.timer = setTimeout(() => {
					uni.switchTab({
						url: '/pages/my/my'
					});
				}, 500);
			}
		},
		onUnload() {
			// 清除计时器
			if (this.timer) {
				clearTimeout(this.timer);
			}
		}
	}
</script>

<style>
	.container {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		height: 100vh;
	}
	
	.redirect-info {
		padding: 50rpx;
		text-align: center;
	}
	
	.redirect-text {
		font-size: 32rpx;
		color: #666;
	}
</style> 